home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000100_news@columbia.edu _Fri May 4 19:07:43 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.59.159])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA24991
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Fri, 4 May 2001 19:07:43 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by apakabar.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id TAA05474
  7.     for <kermit.misc@smtp.cc.columbia.edu>; Fri, 4 May 2001 19:07:40 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id TAA25751
  10.     for kermit.misc@watsun.cc.columbia.edu; Fri, 4 May 2001 19:03:52 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: ftp - if the file already exists
  14. Date: 4 May 2001 23:03:50 GMT
  15. Organization: Columbia University
  16. Message-ID: <9cvcgm$p4l$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <9cv5ct$njq7@biko.telecom.ups.com>, Bigfoot <ext6axp@ups.com> wrote:
  20. : In ftp when i get a file from the remote system to my local
  21. : system and if the file that I am getting from the remote directory
  22. : already exists in my local machine, is there a way to get the file in
  23. : a different name.
  24. : Is there an option or parameter to set, so that whenever the file
  25. : already exists in the local directory, ftp will prompt you to enter a
  26. : different name or automatically convert the filename to a different
  27. : name by setting some naming conventions.
  28. The new Kermit FTP client:
  29.  
  30.   http://www.columbia.edu/kermit/ftpclient.html
  31.  
  32. does this automatically, the same way it does for Kermit transfers.
  33. By default, if the incoming file has the same name as an existing file
  34. in the same directory, the existing file is renamed by adding .~1~ to
  35. its name, or if that name is in use too, .~2~, and so on.
  36.  
  37. Lots of other filename collision options are available too, for example:
  38.  
  39. RENAME
  40.   Change the name of the incoming file, rather than the existing file.
  41.  
  42. APPEND
  43.   Append the incoming file to the existing file.
  44.  
  45. DISCARD
  46.   Refuse the incoming file and keep the existing file.
  47.  
  48. OVERWRITE
  49.   Overwrite the existing file (like regular FTP clients do).
  50.  
  51. UPDATE
  52.   Refuse the incoming file unless it is newer than the existing file.
  53.  
  54. - Frank